package com.example.cloudmusicserve.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description: RecentPlay
 * @author: xiaoyuan
 * @time: 2023/5/29
 */
@Data
public class RecentPlay {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("数据表中的id")
    private Integer listId;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("音乐ID")
    private Integer id;
    @ApiModelProperty("歌曲名")
    private String musicName;
    @ApiModelProperty("结束时间")
    private String endTime;
}
